package com.bear.udisk.model;

import java.io.Serializable;
import java.util.Date;

public class Fileinfo implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private int fileId;
	private String fileName;
	private Date uploadTime;
	private long fileSize;
	private String fileCode;
	private String filePath;
	private int userId;

	public Fileinfo() {
	}

	public Fileinfo(String fileName, long fileSize, String fileCode, String filePath, int userId) {
		super();
		this.fileName = fileName;
		this.fileSize = fileSize;
		this.fileCode = fileCode;
		this.filePath = filePath;
		this.userId = userId;
	}

	public int getFileId() {
		return fileId;
	}

	public void setFileId(int fileId) {
		this.fileId = fileId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Date getUploadTime() {
		return uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileCode() {
		return fileCode;
	}

	public void setFileCode(String fileCode) {
		this.fileCode = fileCode;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

}
